package com.jiangxjsy.core.constant;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/5/29 17:21
 */

public class BasicConstant {
    /**
     * token 名称
     */
    public static final String TOKEN_NAME = "Admin-Token";

    /**
     * 短时间内连续登录错误最大次数
     */
    public static final Integer MAX_LOGIN_ERROR_COUNT = 3;

    /**
     * PC端登录的 userKey 前缀
     */
    public static final String USER_TOKEN = "WK:USER:TOKEN:";

    /**
     * 查询数据权限递归次数
     */
    public static final int AUTH_DATA_RECURSION_NUM = 20;

    /**
     * 默认密码强度
     */
    public static final String DEFAULT_PASSWORD_INTENSITY = "^(?=.*[a-zA-Z])(?=.*\\d).{6,20}$";

    /**
     * 默认分隔符
     */
    public static final String SEPARATOR =",";
}
